Basics
Introduction to Java
- Installing Java and setting up the environment
- Java syntax and structure
- Running Java programs
Data Types and Variables
- Primitive data types (int, float, char, boolean)
- Reference data types (arrays, strings, objects)
- Variable declaration and initialization
Basic Operators
- Arithmetic operators
- Comparison operators
- Logical operators
- Assignment operators
Control Structures
- Conditional statements (if, else if, else, switch)
- Loops (for, while, do-while)
- Break and continue statements
Intermediate
Methods
- Defining and calling methods
- Method parameters and return values
- Method overloading
- Scope and lifetime of variables
Object-Oriented Programming (OOP)
- Classes and objects
- Constructors
- Inheritance and polymorphism
- Encapsulation and abstraction
Exception Handling
- Try, catch, finally blocks
- Handling different types of exceptions
- Throwing exceptions
File I/O
- Reading from and writing to files
- Working with different file formats
- File handling classes (File, FileReader, FileWriter)
Advanced
Advanced OOP Concepts
- Abstract classes and interfaces
- Inner classes
- Anonymous classes
- Enums
Collections Framework
- List, Set, and Map interfaces
- ArrayList, LinkedList, HashSet, TreeSet, HashMap, TreeMap
- Collections utility methods
Generics
- Introduction to generics
- Generic classes and methods
- Bounded type parameters
Multithreading and Concurrency
- Creating and running threads
- Thread lifecycle and states
- Synchronization and inter-thread communication
- Executors framework